﻿<!DOCTYPE>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>周期性检验维护</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
</head>
<body>
    <div id="mainDiv">
        <div class="panelSection">
            <div class="easyui-panel " title="查询区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div style="margin: 3px 0px 3px 3px">
                    <div style="float: left">
                        <div class="divLabel" style="margin-bottom: 5px">
                            零件号：</div>
                        <input id="txtProductByQuery" class="easyui-textbox" style="width: 120px; height: 20px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            工序号：</div>
                        <input id="txtSpecNoByQuery" class="easyui-textbox" style="width: 150px; height: 20px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            工序名称：</div>
                        <input id="txtSpecDescByQuery" class="easyui-textbox" style="width: 150px; height: 20px" />
                    </div>
                      <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            工区：</div>
                        <select id="txtWorkCenterByQuery" class="easyui-combobox" style="width: 120px; height: 20px" data-options="editable:false,panelHeight:'180'">
                         </select>
                    </div>
                      <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            班组：</div>
                        <select id="txtTeamByQuery" class="easyui-combobox" style="width: 120px; height: 20px" data-options="editable:false,panelHeight:'180'">
                         </select>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            状态：</div>
                        <select style='width: 120px; height: 20px' id='selStatus' data-options="value:0,editable:false,panelHeight:'180'"
                            class='easyui-combobox'>
                            <option value="0">请选择</option>
                            <option value="1">有效</option>
                            <option value="2">检测中</option>
                            <option value="3">到期</option>
                        </select>
                    </div>
                    <div style="float: left; margin-left: 20px">
                        <button id="btnSearch" class="easyui-linkbutton" data-options="" style="margin-top: 16px;
                            width: 80px">
                            查询</button>
                        <button id="btnReset" class="easyui-linkbutton" data-options="" style="margin-top: 16px;
                            margin-left: 5px; width: 50px">
                            重置</button>
                    </div>
                    <div style="clear: both">
                    </div>
                </div>
            </div>
        </div>
        <div class="panelSection">
            <div class="easyui-panel " title="周期性检验管理" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div style="margin: 3px 0px 3px 3px">
                    <button id="btnExcelImport" class="easyui-linkbutton" type="button" style="width: 120px;
                        height: 26px;">
                        Excel导入</button>
                    <button id="btnAdd" class="easyui-linkbutton" type="button" style="width: 80px; height: 26px;">
                        添加</button>
                    <button id="btnDele" class="easyui-linkbutton" type="button" style="width: 80px;
                        height: 26px;">
                        删除</button>
                    <button id="btnEnableOrStop" class="easyui-linkbutton" type="button" style="width: 120px;
                        height: 26px;">
                        启用/暂停</button>
                    <button id="btnApply" class="easyui-linkbutton" type="button" style="width: 140px;
                        height: 26px;">
                        提请委托计量</button>
                    <a id="temDownload" download="周期性检验导入模板" style="margin-left: 10px">导入模板下载</a>
                    <span style="color:red;font-weight:bold;margin-left: 10px;">内部系统，禁止处理涉密信息！</span>
                </div>
                <div style="margin: 3px 0px 3px 3px; width: 1100px">
                    <table id="gdPeriodicCheckInfo" class="easyui-datagrid" style="width: 100%; height: 200px"
                        data-options="rownumbers:true">
                    </table>
                    <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                    buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]  
                ">
                    </div>
                </div>
            </div>
        </div>
        <div class="panelSection">
            <div class="easyui-panel " title="检测报告" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div style="margin: 3px 0px 3px 3px; width: 1100px">
                    <table id="gdPeriodicCheckDetailInfo" class="easyui-datagrid" style="width: 100%;
                        height: 200px" data-options="rownumbers:true">
                    </table>
                    <div id="pp1" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                    buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo1'
                    }]  
                ">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="dg" title="编辑周期性检测" style="width: 650px; height: 450px; display: none" data-options="iconCls:'icon-save',resizable:true">
        <form id="ff">
        <div style="padding: 20px 50px 50px 50px">
            <div style="width: 500px; margin-top: 10px">
                <div style="margin-left: 10px; float: left">
                    <label for="txtProductName" style="width: 100px; font-size: 16px; letter-spacing: 8px">
                        零件</label><span style="font-size: 16px;">号:</span>
                    <input id="txtProductName" name="productName" class="easyui-textbox" style="width: 120px;
                        height: 26px" required="required" />
                </div>
                <div style="margin-left: 10px; float: left">
                    <label for="txtSpecNo" style="width: 100px; font-size: 16px; letter-spacing: 24px">
                        工序</label><span style="font-size: 16px;">号:</span>
                    <input id="txtSpecNo" name="specNo" class="easyui-textbox" style="width: 120px; height: 26px"
                        required="required" />
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 500px; margin-top: 20px">
                <div style="margin-left: 10px; float: left">
                    <label for="txtSpecName" style="width: 100px; font-size: 16px; letter-spacing: 8px">
                        工序</label><span style="font-size: 16px;">名:</span>
                    <input id="txtSpecName" name="opdesc" class="easyui-textbox" style="width: 120px;
                        height: 26px" required="required" />
                </div>
                <div style="margin-left: 10px; float: left">
                    <label for="txtDetectionType" style="width: 100px; font-size: 16px; letter-spacing: 11px">
                        检测类</label><span style="font-size: 16px;">型:</span>
                    <select style='width: 120px; height: 26px' id='txtDetectionType' name="detectionType"
                        data-options="editable:false,panelHeight:'160'" required="required" class='easyui-combobox'>
                        <option value="疲劳检查">疲劳检查</option>
                        <option value="氢含量检查">氢含量检查</option>
                        <option value="金相组织检查">金相组织检查</option>
                        <option value="银层厚度检查">银层厚度检查</option>
                        <option value="涂层检测">涂层检测</option>
                    </select>
                    <!-- <input id="txtDetectionType" name="detectionType" class="easyui-textbox" style="width: 120px; height: 26px" required="required" />-->
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 500px; margin-top: 20px">
                <div style="margin-left: 10px; float: left">
                    <label for="txtEffectiveType" style="width: 100px; font-size: 16px">
                        有效类型:</label>
                    <select style='width: 120px; height: 26px' id='txtEffectiveType' name="effectiveType"
                        data-options="editable:false,panelHeight:'80'" required="required" class='easyui-combobox'>
                        <option value="件">件</option>
                        <option value="天">天</option>
                    </select>
                </div>
                <div style="margin-left: 10px; float: left">
                    <label for="txtEffectiveCount" style="width: 100px; font-size: 16px">
                        有效类型计数:</label>
                    <input id="txtEffectiveCount" name="effectiveCount" class="easyui-numberbox" style="width: 120px;
                        height: 26px" />
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 500px; margin-top: 20px">
                <div style="margin-left: 10px; float: left">
                    <label for="txtSurplusQty" style="width: 100px; font-size: 16px">
                        剩余数量:</label>
                    <input id="txtSurplusQty" name="surplusQty" class="easyui-numberbox" style="width: 120px;
                        height: 26px" />
                </div>
                <div style="margin-left: 10px; float: left">
                    <label for="txtDueDate" style="width: 100px; font-size: 16px; letter-spacing: 11px">
                        到期日</label><span style="font-size: 16px;">期:</span>
                    <input id="txtDueDate" name="dueDate" type="text" class="easyui-datebox" style="width: 120px;
                        height: 26px" />
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 500px; margin-top: 20px">
                <div style="margin-left: 10px; float: left">
                    <label for="selWorkCenter" style="width: 100px; font-size: 16px;letter-spacing: 30px">
                        工</label><span style="font-size: 16px;">区:</span>
                    <select style='width: 120px; height: 26px' id='selWorkCenter' name="workCenterID"
                        data-options="editable:false,panelHeight:'150'" required="required" class='easyui-combobox'>
                    </select>
                </div>
                <div style="margin-left: 10px; float: left">
                    <label for="selTeam" style="width: 100px; font-size: 16px; letter-spacing: 66px">
                        班</label><span style="font-size: 16px;">组:</span>
                    <select style='width: 120px; height: 26px' id='selTeam' name="teamID"
                        data-options="editable:false,panelHeight:'150'" required="required" class='easyui-combobox'>
                    </select>
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 500px; margin-top: 20px">
                <div style="margin-left: 10px; float: left">
                    <label for="txtNotes" style="width: 100px; font-size: 16px;">
                        描&emsp;&emsp;述:</label>
                    <input type="text" name="notes" class="easyui-textbox" id="txtNotes" name="txtNotes"
                        data-options="multiline:true" style="height: 60px; width: 355px" />
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div id="bb" style="width: 500px; margin-top: 20px; margin-left: 10px">
                <button class="easyui-linkbutton" type="button" style="width: 120px; height: 26px"
                    id="btnSave">
                    保存</button>
                <a href="#" class="easyui-linkbutton" style="width: 80px; height: 26px" id="btnClose">
                    关闭</a>
            </div>
        </div>
        </form>
    </div>
    <div style="float: left; display: none" class="btns">
        <div style="float: left">
            <input id="importDem" type="file" />
        </div>
    </div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/PeriodicCheck/PeriodicCheckMaintPage.js"
    type="text/javascript"></script>
